package com.efast.dmom.mes.bean;

import com.efast.dmom.mes.bean.base.RouteRelateBaseBean;
import com.efast.dmom.mes.entity.RouteQueueEntity;

/**
 * @author Aaron Liu
 *
 * @date:2020年1月7日
 */
public class RouteQueue extends RouteRelateBaseBean<RouteQueueEntity> {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8895671722974822062L;

	
	public boolean equals(Object obj) {

		boolean result = false;

		if (obj instanceof Route) {

			if (this.getInnerData().getId() <= 0) {
				result = (this == (RouteQueue) obj);
			} else {
				result = (this.getInnerData().getId() == ((RouteQueue) obj).getInnerData().getId());
			}
		}
		return result;
	}

}
